package org.example.model;

import java.io.Serial;
import java.io.Serializable;

public class FormData implements Serializable {

    @Serial
    private static final long serialVersionUID = -3258839839160856613L;
    private long dataId;
    private String formName;
    private String formData;

    public FormData(long dataId, String formName, String formData) {
        this.dataId = dataId;
        this.formName = formName;
        this.formData = formData;
    }

    public FormData() {
    }

    public long getDataId() {
        return dataId;
    }

    public void setDataId(long dataId) {
        this.dataId = dataId;
    }

    public String getFormName() {
        return formName;
    }

    public void setFormName(String formName) {
        this.formName = formName;
    }

    public String getFormData() {
        return formData;
    }

    public void setFormData(String formData) {
        this.formData = formData;
    }

    @Override
    public String toString() {
        return "FormData{" +
                "dataId=" + dataId +
                ", formName='" + formName + '\'' +
                ", formData='" + formData + '\'' +
                '}';
    }
}
